func github.com/gotd/td/bin.nearestPaddedValueLength
9 uses
github.com/gotd/td/bin (current package)
bin.go#L28: func nearestPaddedValueLength(l int) int {
bytes.go#L14: b = append(b, make([]byte, nearestPaddedValueLength(currentLen)-currentLen)...)
bytes.go#L21: b = append(b, make([]byte, nearestPaddedValueLength(currentLen)-currentLen)...)
bytes.go#L41: return nearestPaddedValueLength(int(strLen) + 4), b[4 : strLen+4], nil
bytes.go#L53: return nearestPaddedValueLength(strLen + 1), b[1 : strLen+1], nil
string.go#L23: b = append(b, make([]byte, nearestPaddedValueLength(currentLen)-currentLen)...)
string.go#L30: b = append(b, make([]byte, nearestPaddedValueLength(currentLen)-currentLen)...)
string.go#L47: return nearestPaddedValueLength(int(strLen) + 4), string(b[4 : strLen+4]), nil
string.go#L59: return nearestPaddedValueLength(strLen + 1), string(b[1 : strLen+1]), nil
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |